<script id="imgListTpl" type="text/html">
    {{each list}}

    {{/each}}
</script>
<script>
    getAjax("{:url('user/cart/index')}",'',function (res) {
        console.info(res);
    })
</script>